home *** CD-ROM | disk | FTP | other *** search
- Path: senior.nectec.or.th!nwg!finn
- From: finn@nwg.nectec.or.th (James Finn)
- Newsgroups: comp.lang.c++
- Subject: Re: Friends....
- Date: 3 Jan 1996 09:11:59 GMT
- Organization: National Electronics and Computer Technology Center, Bangkok
- Message-ID: <4cdh8v$2sh@senior.nectec.or.th>
- References: <4c9srh$g2l@ixnews3.ix.netcom.com> <4cdghg$1ep@senior.nectec.or.th>
- NNTP-Posting-Host: nwg.nectec.or.th
- X-Newsreader: TIN [version 1.2 PL2]
-
- James Finn (finn@nwg.nectec.or.th) wrote:
-
- Sorry for the typos, folks. New Year brain damage
- still under recovery:
-
- : Say you have a class CL, with variables:
-
- : CL cl1, cl2.
-
- Should be
- CL cl1, cl2;
-
- : Well, it's an overloaded function. The types being used in
- : the function definition are not the same as the type for
- : which the function is being defined. For example, if I
- : were writing a << function to read complex numbers, I
- ~~~~
- should be "write"
-
- --James
-